/*
package org.example.myframework.frame.common.exception;

import org.example.myframework.frame.common.entity.R;
import org.springframework.web.bind.annotation.ExceptionHandler;
import org.springframework.web.bind.annotation.RestControllerAdvice;

@RestControllerAdvice
public class ExceptionAdaptController {

    */
/**
     * 全局异常处理，自定义RuntimeException捕获
     * @param e
     * @return
     *//*

    @ExceptionHandler({Exception.class,RuntimeException.class})
    public R RuntimeException(RuntimeException e) {
        return R.fail(e.getMessage());
    }

}
*/
